package com.lebang.feign.bus.fallback;

import com.lebang.feign.bus.BusFeign;
import com.lebang.model.RequestUserInfo;
import com.lebangweb.response.JsonData;
import org.springframework.stereotype.Component;

import static com.lebang.feign.draw.CommonFallBack.FAIL_JSON;


@Component
public class BusFallback implements BusFeign {


    @Override
    public JsonData city() {
        return FAIL_JSON;
    }

    @Override
    public JsonData routes(RequestUserInfo requestUserInfo, String cityId, String keywords, String code) {
        return FAIL_JSON;
    }

    @Override
    public JsonData info(RequestUserInfo requestUserInfo,String cityId, String rouseId, String routeNum, String routeName) {
        return FAIL_JSON;
    }

    @Override
    public JsonData hot() {
        return FAIL_JSON;
    }

    @Override
    public JsonData base(RequestUserInfo requestUserInfo, String cityId, String rouseId, String routeNum, String routeName) {
        return FAIL_JSON;
    }

    @Override
    public JsonData buses(RequestUserInfo requestUserInfo, String cityId, String rouseId, String routeNum, String routeName) {
        return FAIL_JSON;
    }
}
